package com.neo.controller.load;

import com.jfinal.core.Controller;
import com.jfinal.upload.UploadFile;

import java.io.File;

public class UploadAndDownload extends Controller {
    public void index(){

    }

    /**
     * 文件上传
     */
    public  void uploadFile(){
        UploadFile uploadFile = this.getFile();
        String fileName = uploadFile.getOriginalFileName();

        File file = uploadFile.getFile();
        FilerService fileService = new FilerService();

    }
}
